package com.example.demo.service;

import com.example.demo.entity.Classes;
import com.example.demo.entity.Users;
import com.example.demo.mapper.ClassesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClassesService {

    @Autowired
    private ClassesMapper classesMapper;

    public Classes getClassesById(Users classId) {
        Classes classes = classesMapper.getClassesById(classId);
        return classes;
    }
}
